package com.aoip.telemetry.telemetry.quartz.task.call.mapper;

import com.aoip.telemetry.telemetry.entity.order.OrderBaseEntity;
import com.aoip.telemetry.telemetry.entity.order.RelOrderElementEntity;
import com.aoip.telemetry.telemetry.entity.order.RelOrderStEntity;
import com.baomidou.dynamic.datasource.annotation.DS;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 *
 * @author chenbai
 * @version 1.0
 * @date 2023/5/2 15:58
 */
@Mapper
@DS("telemetry")
public interface TimeSynCallTaskMapper {


    OrderBaseEntity getOrderBaseByOrderId(String orderId);
    /**
     * 召测指令与指令要素关系
     * @author chenbai
     * @date 2023/5/2
     * @param orderId 召测指令id
     * @return java.util.List<com.aoip.telemetry.telemetry.entity.order.RelOrderElementEntity>
     **/
    List<RelOrderElementEntity> relOrderElementEntityList(String orderId);

    /**
     * 召测指令与测站关系
     * @author chenbai
     * @date 2023/5/2
     * @param orderId 召测指令id
     * @return java.util.List<com.aoip.telemetry.telemetry.entity.order.RelOrderElementEntity>
     **/
    List<RelOrderStEntity> relOrderStEntityList(String orderId);
}
